home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-11-12 | 1.0 KB | 48 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="6"
- "COUNT"="1"
- "UIPATH"="System\Security\Windows 9x/ME"
- "NAME"="Disable DOS Box"
- "VERSION"="1.05"
- "OSVERSION"="10101"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Disable starting a DOS Box"
- "DESCRIPTION 1"="If this option is set, the current user is no longer allowed to start a DOS box (COMMAND.COM)."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
-
-
-
- sPath="HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp\Disabled"
-
- Sub Plugin_Initialize
- i=RegReadValue(sPath)
- if i=1 then
- Call SetUIElement(1,true)
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- b=GetUIElement(1)
- if b=true then
- Call RegWriteValue(sPath,1,2)
- else
- s=RegReadValue(sPath)
- if IsEmpty(s)=false then
- Call RegDeleteValue(sPath)
- end if
- end if
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-